package main

import (
	"JudgeClient/client"
	"JudgeClient/global"
	"JudgeClient/router"
	"JudgeClient/server"
)

func main() {
	global.InitGlobal()
	client.NewClient()
	r := router.InitRouter()
	js := server.InitJServer()
	go js.DoConsume()

	//r.GET("/sync", server.SyncTestCase)

	//r.POST("/judge", server.Judge)
	r.Run(":8090")
}
